projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03c929e
)
Fix typo
author
Po Lu
<luangruo@yahoo.com>
Fri, 10 Feb 2023 02:59:22 +0000
(10:59 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 10 Feb 2023 02:59:22 +0000
(10:59 +0800)
* src/sfnt.c (sfnt_read_cmap_table): Fix typo.
(main): Update tests.
src/sfnt.c
patch
|
blob
|
history
diff --git
a/src/sfnt.c
b/src/sfnt.c
index 83d230326f4e3529d77dfd36669d798e440b80d9..bf6ea3761ef5cbc480ea273e2f73bac992ae63b2 100644
(file)
--- a/
src/sfnt.c
+++ b/
src/sfnt.c
@@
-912,7
+912,8
@@
sfnt_read_cmap_table (int fd, struct sfnt_offset_subtable *subtable,
being unsupported.) Return now. */
for (j = 0; j < i; ++j)
- xfree (data[i]);
+ xfree (data[j]);
+
xfree (*data);
xfree (*subtables);
xfree (cmap);
@@
-15533,8
+15534,8
@@
main (int argc, char **argv)
data[i]->format);
}
-#define FANCY_PPEM
12
-#define EASY_PPEM
12
+#define FANCY_PPEM
40
+#define EASY_PPEM
40
interpreter = NULL;
head = sfnt_read_head_table (fd, font);